package com.heima.search;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@Slf4j
@EnableFeignClients // 开启feign的远程调用
@EnableAsync // 开启异步调用
public class SearchApp {
    public static void main(String[] args) {
        SpringApplication.run(SearchApp.class, args);
        log.info("SearchApp 项目启动成功了!");
    }
}
